package cn.e2win.biz.notice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.e2win.base.controller.MyException;
import cn.e2win.base.json.vo.Pager;
import cn.e2win.biz.base.BaseDAO;
import cn.e2win.biz.base.BaseService;
import cn.e2win.biz.base.CommonService;
import cn.e2win.biz.dbo.Notice;


@Service
public class NoticeService extends BaseService{
	

	@Autowired
	private NoticeDao noticeDao;
	@Autowired
	private CommonService commonService;
	
	@Override
	public BaseDAO initDao() {
		return noticeDao;
	}

	public void pagerNotice(Pager pager){
		noticeDao.pagerNotice(pager);
	}
	@Transactional
	public Notice editNotice(Notice obj)  throws MyException{

		
		return obj;
		
	}
}
